package com.atguigu.gmall.cart.pojo;

import com.atguigu.gmall.pms.entity.SkuSaleAttrValueEntity;
import com.atguigu.gmall.sms.vo.ItemSkuSaleVO;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

//封装购物车信息
@Data
public class Cart {

    private Long skuId;//skuId
    private String title;
    private String defaultImgage;
    private BigDecimal price;
    private BigDecimal currentPrice;//当前价格用于同步价格
    private Integer count;
    private Boolean store;//是否有货
    private List<SkuSaleAttrValueEntity> saleAttrValueEntityList;//营销属性
    private List<ItemSkuSaleVO> sales;//详情的营销信息

    private Boolean check;//勾选字段
}
